import Vue from 'vue'
import Router from 'vue-router'
import Head from '@/views/homePage/index.vue'

Vue.use(Router)

const _import = require('./import-' + process.env.NODE_ENV)

export default new Router({
	routes: [
		{path: '/',name: 'Head',component: Head},
		{path: '/login', component: _import('login/login'), name: 'login', meta: {title: '登录'}},
	]
})
